<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class Errors extends CI_Controller {
	
	function page_missing() {
		$this->load->view('errors/404');
	}
	function forbidden() {
		$this->load->view('errors/forbidden');
	}
	function closed() {
		$this->load->model('Setting_model');
		$data = $this->Setting_model->find_all();
		$this->load->view('errors/closed', $data);
	}
}